sunxi_nand_spl: clear status flags in SPL implementation
authorBoris Brezillon <[email protected]>
Sat, 29 Aug 2015 10:29:38 +0000 (12:29 +0200)
committerHans de Goede <[email protected]>
Mon, 31 Aug 2015 06:43:42 +0000 (08:43 +0200)
commitddd37fe865bee8b17842a55ab917ae597fe8af0d
tree59ca252e6cf88fbd203445d4ad384d1799ec8832
parent6a08d65acc0f5e62e3144e16fc4460e068e3c6ec
sunxi_nand_spl: clear status flags in SPL implementation

Some status flags remain set until you explicetly clear the bit
in the status register.
Fix the SPL implementation to avoid false positive.

Signed-off-by: Boris Brezillon <[email protected]>
[[email protected]: Port from v2015.07 to v2015.10]
Acked-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
drivers/mtd/nand/sunxi_nand_spl.c